Package com.cisco.pt.ipc.sim.pdu.impl
Class VendorIdPayloadImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.IkePayloadImpl
com.cisco.pt.ipc.sim.pdu.impl.VendorIdPayloadImpl
- All Implemented Interfaces:
IPCData,IkePayload,Pdu,Signal,VendorIdPayload
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.IkePayloadImpl
length, nextPayloadType, reservedFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) longvoidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetVendorId(long vendorId) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.IkePayloadImpl
getLength, getNextPayloadType, getReserved, setLength, setNextPayloadType, setReservedMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.IkePayload
getLength, getNextPayloadType, getReserved, setLength, setNextPayloadType, setReservedMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
vendorId
protected long vendorId
-
-
Constructor Details
-
VendorIdPayloadImpl
public VendorIdPayloadImpl()
-
-
Method Details
-
getVendorId
public long getVendorId()- Specified by:
getVendorIdin interfaceVendorIdPayload- Returns:
- long Returns a long
-
setVendorId
public void setVendorId(long vendorId) - Specified by:
setVendorIdin interfaceVendorIdPayload- Parameters:
vendorId- Takes in a parameter of vendorId
-
getFieldType
- Overrides:
getFieldTypein classIkePayloadImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classIkePayloadImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classIkePayloadImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classIkePayloadImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classIkePayloadImpl
-